﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace FreeboxHDVideoPlayer
{
    public class AbstractWorker : BackgroundWorker
    {
        public string Host
        {
            protected set;
            get;
        }

        public string User
        {
            protected set;
            get;
        }

        public string Password
        {
            protected set;
            get;
        }

        public int Port
        {
            protected set;
            get;
        }

        public AbstractWorker()
        {
        }

        public AbstractWorker(string host, int port, string user, string password)
        {
            Host = host;
            Port = port;
            User = user;
            Password = password;
            this.WorkerReportsProgress = true;
            this.WorkerSupportsCancellation = true;
        }
    }
}
